import router from "./index";

// import { fa } from "element-plus/es/locale";
// 路由守卫
router.beforeEach((to, from, next) => {
    if (to.meta.isLogin) {
        let token = false;
        if (token) {
            next();
        }
        else {
            next({
                name: "Login"
            })
        }
    }
    else {
        next();
    }
})